package com.neuedu.yyzx.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 食品
 *
 * @TableName food
 */
@TableName(value = "food")
@Data
public class Food implements Serializable {
    /**
     * id
     */
    @TableId(value = "id")
    private Integer id;

    /**
     * food_name
     */
    @TableField(value = "food_name")
    private String foodName;

    /**
     * food_type
     */
    @TableField(value = "food_type")
    private String foodType;

    /**
     * price
     */
    @TableField(value = "price")
    private BigDecimal price;

    /**
     * is_halal
     */
    @TableField(value = "is_halal")
    private Integer isHalal;

    /**
     * food_img
     */
    @TableField(value = "food_img")
    private String foodImg;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}